package com.cskaoyan.mapper;



import com.cskaoyan.bean.promotion.storage.PicStorage;

import com.cskaoyan.bean.promotion.storage.PicStorageExample;

import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface PicStorageMapper {
    long countByExample(PicStorageExample example);

    int deleteByExample(PicStorageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PicStorage record);

    int insertSelective(PicStorage record);

    List<PicStorage> selectByExample(PicStorageExample example);

    PicStorage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PicStorage record, @Param("example") PicStorageExample example);

    int updateByExample(@Param("record") PicStorage record, @Param("example") PicStorageExample example);

    int updateByPrimaryKeySelective(PicStorage record);

    int updateByPrimaryKey(PicStorage record);

    Integer insertByHand(@Param("pic") PicStorage picStorage);
}